<?php
/**
 * 评论模型
 * 
 + ----------------------------------------------------- 
 * Date 2013-3-8
 + -----------------------------------------------------
 */
class CommentModel extends CommonModel {
	
	protected $_validate	=	array(
		array('name','require','请输入您的昵称！'),
		array('email','require','请输入您的邮箱！'),
		array('email','email','不是正确的邮箱地址！',2,'function',1),
		array('content','require','请输入您的评论内容！'),
	);

	protected $_auto		=	array(
		array('add_time','time',1,'function'),
	);
	
}
?>